package com.github.jiangxch.rpc.exchange;

import com.github.jiangxch.rpc.transport.exchanger.ExchangeChannel;
import com.github.jiangxch.rpc.transport.exchanger.Replier;

/**
 * @author: jiangxch
 * @date: 2021/2/26 上午2:14
 */
public class HelloWorldReplier implements Replier<String> {
    public static final String result = "Hello,World";
    
    @Override
    public Object replay(ExchangeChannel channel, Object message) {
        return result;
    }
}
